package com.tm.vo;

import com.tm.model.Person;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class PersonVo extends PageBean<Person> {

    private String personName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date personMinDate;        //入职时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date personMaxDate;        //入职时间

    private Integer personMinAge;

    private Integer personMaxAge;

    private Character personSex;    //0男 1女

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public Date getPersonMinDate() {
        return personMinDate;
    }

    public void setPersonMinDate(Date personMinDate) {
        this.personMinDate = personMinDate;
    }

    public Date getPersonMaxDate() {
        return personMaxDate;
    }

    public void setPersonMaxDate(Date personMaxDate) {
        this.personMaxDate = personMaxDate;
    }

    public Integer getPersonMinAge() {
        return personMinAge;
    }

    public void setPersonMinAge(Integer personMinAge) {
        this.personMinAge = personMinAge;
    }

    public Integer getPersonMaxAge() {
        return personMaxAge;
    }

    public void setPersonMaxAge(Integer personMaxAge) {
        this.personMaxAge = personMaxAge;
    }

    public Character getPersonSex() {
        return personSex;
    }

    public void setPersonSex(Character personSex) {
        this.personSex = personSex;
    }
}
